import java.util.Scanner;
public class demo {
        public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);
            System.out.print("请输入你的出生年份：");
            int year = scanner.nextInt();
            switch (year % 12) {
                case 1:
                    System.out.println("属鸡");
                    break;
                case 2:
                    System.out.println("属狗");
                    break;
                case 3:
                    System.out.println("属猪");
                    break;
                case 4:
                    System.out.println("属鼠");
                    break;
                case 5:
                    System.out.println("属牛");
                    break;
                case 6:
                    System.out.println("属虎");
                    break;
                case 7:
                    System.out.println("属兔");
                    break;
                case 8:
                    System.out.println("属龙");
                    break;
                case 9:
                    System.out.println("属蛇");
                    break;
                case 10:
                    System.out.println("属马");
                    break;
                case 11:
                    System.out.println("属羊");
                    break;
                case 0:
                    System.out.println("属猴");
                    break;
                default:
                    System.out.println("输入有误");
                    break;
            }

            scanner.close();

        }


}
